﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using Dal;
using Model;

namespace Bll
{
    public class BllIndex
    {
        DalIndex d = new DalIndex();
        public DataTable Nav_Name_All()
        {
            //IndexNavName
            return d.Nav_Name_All();
        }

        public DataTable Nav_Name_Display()
        {
            //IndexNavPieceName
            return d.Nav_Name_Display();
        }

        public DataTable Module_Nav_Information()
        {
            return d.Module_Nav_Information();
        }

        public DataTable Module_Content_Information(ModelIndex m)
        {
            return d.Module_Content_Information(m);
        }

        public DataTable IndexImg2()
        {
            //IndexImg2
            return d.IndexImg2();
        }

        public DataTable SubNav_Name_All(ModelIndex m)
        { 
            //NavSubName
            return d.SubNav_Name_All(m);
        }

        public DataTable All_Information(ModelIndex m)
        {
            return d.All_Information(m);
        }

        public DataTable Major_SubNav_Name_All()
        {
            //Nav3Name
            return d.Major_SubNav_Name_All();
        }


        public DataTable Notice_Information()
        {
            //Notice
            DataTable dt = d.Notice_Information();
            

            return dt;
        }
        public DataSet Retrieve_Information_All(ModelIndex m)
        {
            //Search
            return d.Retrieve_Information_All(m);
        }
        public string SubNav_Name_Singlex(ModelIndex m)
        {
            //MapSubNavName
            return d.SubNav_Name_Singlex(m);
        }

        public void Browse_Frequency(ModelIndex m)
        {
            //number
            d.Browse_Frequency(m);
        }

        public DataTable Servise_All()
        {
            //服务指南
            return d.Servise_All();
        }//服务指南
    }
}
